package com.wenhui.schoolyardinfo.message.bean;

/**
 * author    : Urasaki
 * e-mail    : 1164688204@qq.com
 * date      : 2019/6/28 15:03
 * introduce :
 */

public class NoticeBean {

    private String headPortraitUrl;
    private String name;
    private String noticeMessage;
    private long time;
    private boolean isSystemAnnouncement;
    private boolean isAttentionCan;

    public NoticeBean() {
    }

    public NoticeBean(String headPortraitUrl, String name, String noticeMessage,
                      long time, boolean isSystemAnnouncement, boolean isAttentionCan) {
        this.headPortraitUrl = headPortraitUrl;
        this.name = name;
        this.noticeMessage = noticeMessage;
        this.time = time;
        this.isSystemAnnouncement = isSystemAnnouncement;
        this.isAttentionCan = isAttentionCan;
    }

    public String getHeadPortraitUrl() {
        return headPortraitUrl;
    }

    public void setHeadPortraitUrl(String headPortraitUrl) {
        this.headPortraitUrl = headPortraitUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNoticeMessage() {
        return noticeMessage;
    }

    public void setNoticeMessage(String noticeMessage) {
        this.noticeMessage = noticeMessage;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public boolean isSystemAnnouncement() {
        return isSystemAnnouncement;
    }

    public void setSystemAnnouncement(boolean systemAnnouncement) {
        isSystemAnnouncement = systemAnnouncement;
    }

    public boolean isAttentionCan() {
        return isAttentionCan;
    }

    public void setAttentionCan(boolean attentionCan) {
        isAttentionCan = attentionCan;
    }

    @Override
    public String toString() {
        return "NoticeBean{" +
                "headPortraitUrl='" + headPortraitUrl + '\'' +
                ", name='" + name + '\'' +
                ", noticeMessage='" + noticeMessage + '\'' +
                ", time=" + time +
                ", isSystemAnnouncement=" + isSystemAnnouncement +
                ", isAttentionCan=" + isAttentionCan +
                '}';
    }
}
